
package org.xteam.pascal.parser.ast;

import org.xteam.parser.runtime.Span;

public class With extends Statement {
	
	public org.xteam.parser.runtime.reflect.AstNodeType getNodeType() {
		return PascalAstPackage.INSTANCE.getWithType();
	}
	
	protected org.xteam.parser.runtime.AstList<Access> variables;
	protected Statement statement;
	
	public With(Span span, org.xteam.parser.runtime.AstList<Access> variables,Statement statement) {
		super(span);
		this.variables = variables;
		this.statement = statement;
	}
	
	
	public org.xteam.parser.runtime.AstList<Access> getVariables() {
		return variables;
	}
	
	public void setVariables(org.xteam.parser.runtime.AstList<Access> variables) {
		this.variables = variables;
	}
	
	public Statement getStatement() {
		return statement;
	}
	
	public void setStatement(Statement statement) {
		this.statement = statement;
	}
	

	public void visit(IPascalVisitor visitor) {
		visitor.visitWith(this);
	}
}
